WooCommerce\PayPalCommerce\Googlepay\Assets\Button A

Total Complexity 61
Dependencies 12
Dependents 0
Total lines 506
Lines of code 292
Logical lines of code 140
Comment lines 138
Methods 15
Properties 9

Methods 15

Method Rating Maintainability Complexity Lines of code
render()
B
36 18 94
script_data()
A
44 12 40
add_partner_referrals_data()
S
55 6 19
add_onboarding_options()
S
56 4 18
button_styles_for_context()
S
57 4 16
filter_partner_referrals_option()
S
64 4 10
enqueue()
S
57 2 19
is_enabled()
S
69 3 7
enqueue_styles()
S
63 2 12
enqueue_admin()
S
56 1 22
__construct()
S
63 1 11
initialize()
S
71 1 5
googlepay_button()
S
72 1 7
hide_gateway_until_eligible()
S
70 1 9
wc_countries()
S
81 1 3